JavaScript SBST Heuristics To Enable Effective Fuzzing of NodeJS Web APIs
نویسندگان
چکیده
JavaScript is one of the most popular programming languages. However, its dynamic nature poses several challenges to automated testing techniques. In this paper, we propose an approach and open-source tool support enable white-box applications using Search-Based Software Testing (SBST) We provide collect search-based heuristics like common Branch Distance Testability Transformations . To empirically evaluate our results, integrated technique into EvoMaster test generation tool, carried out analyses on system RESTful GraphQL APIs. Experiments 8 Web APIs running NodeJS show that leads significantly better results than existing black-box grey-box tools, in terms code coverage fault detection.
منابع مشابه
Well-typed generic smart-fuzzing for APIs
Despite recent advances in program certification, testing remains a widely-used component of the software development cycle. Various flavours of testing exist: popular ones include unit testing, which consists in manually crafting test cases for specific parts of the code base, as well as QuickCheck-style testing, where instances of a type are automatically generated to serve as test inputs. Th...
متن کاملEffective Learning to Rank Persian Web Content
Persian language is one of the most widely used languages in the Web environment. Hence, the Persian Web includes invaluable information that is required to be retrieved effectively. Similar to other languages, ranking algorithms for the Persian Web content, deal with different challenges, such as applicability issues in real-world situations as well as the lack of user modeling. CF-Rank, as a ...
متن کاملSemi-Automatically Modeling Web APIs to Create Linked APIs
The objective of new service modeling approaches introduced by recent work on linked services is to integrate Linked Data and service APIs. Building these models is time consuming and difficult, which is an obstacle preventing wide adoption of these modeling approaches. We introduce an approach to semi-automatically build semantic models of the Web APIs by using examples of input values. We use...
متن کاملLinked Web APIs Dataset Web APIs meet Linked Data
Web APIs enjoy significant increase in popularity and usage in the last decade. They have became the core technology for exposing functionalities and data. Nevertheless, due to the lack of semantic Web API descriptions their discovery, sharing, integration, and assessment of their quality and consumption is limited. In this paper, we present the Linked Web APIs dataset, an RDF dataset with sema...
متن کاملLinked Web APIs Dataset Web APIs meet Linked
Web APIs enjoy a significant increase in popularity and usage in the last decade. They have become the core technology for exposing functionalities and data. Nevertheless, due to the lack of semantic Web API descriptions their discovery, sharing, integration, and assessment of their quality and consumption is limited. In this paper, we present the Linked Web APIs dataset, an RDF dataset with se...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: ACM Transactions on Software Engineering and Methodology
سال: 2023
ISSN: ['1049-331X', '1557-7392']
DOI: https://doi.org/10.1145/3593801